<!--Copyright (C) Kherty.  All rights reserved.-->
<oui:GroupPanel
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    x:Class="OpenLS.Spreadsheet.UI.DataTabContent"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:oui="http://schemas.Kherty.com/office/2007"
    xmlns:ssui="clr-namespace:OpenLS.Spreadsheet.UI"
    xmlns:media="clr-namespace:OpenLS.Media;assembly=OpenLS.Media"
    xmlns:Internals="clr-namespace:OpenLS.Spreadsheet.UI.Internals"
    xmlns:Resources="clr-namespace:OpenLS.Spreadsheet.UI.Internals.Resources">
        <!--
        <oui:Group Header="{x:Static Internals:UIStringTable.GetExternalData}">
            <Menu>
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.GetDataFromText}" />
            </Menu>
        </oui:Group>
        -->
        <oui:Group Header="{x:Static Resources:UIStringTable.SortAndFilter}" oui:RibbonElement.ControlState="Medium">
            <Menu>
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.SortDown}"/>
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.SortUp}"/>
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.CustomSort}"
                          Header="{x:Static Resources:UIStringTable.Sort}" oui:RibbonElement.ControlState="Large"
                          Icon="{media:Image SortDialog}">
                </MenuItem>
            </Menu>
        </oui:Group>
        <!--  
        <oui:Group Header="{x:Static Internals:UIStringTable.DataTools}">
            <Menu>
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.RemoveDuplicates}"/> 
                
            <MenuItem Icon="{media:Image DataValidation}" Header="{x:Static Internals:UIStringTable.DataValidation}">
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.SetDataValidation}"></MenuItem>
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.ClearDataValidation}"></MenuItem>
            </MenuItem>
            </Menu>
        </oui:Group>
        -->
    
        <oui:Group Header="{x:Static Resources:UIStringTable.Outline}">
            <Menu>
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.Group}"/>
                <MenuItem Command="{x:Static ssui:SpreadsheetCommands.Ungroup}"/>
            </Menu>
        </oui:Group>
    </oui:GroupPanel>
